<#if package??>
    package ${package}
</#if>

<#if imports?? && imports?size > 0>
    <#list imports as import>
        import ${import}
    </#list>
</#if>

<#if comment??>
    /**
    * ${comment}
    *
    * @author ${author}
    */
</#if>
public class ${className} {
<#list params as param>
    /**
    *${param.comment}
    */
    private ${param.type} ${param.name};
</#list>

<#list params as param>
    public ${param.type} get${param.funName}(){
    return ${param.name}
    }
    public void set${param.funName}(${param.type} ${param.name}){
    this.${param.name} = ${param.name}
    }
</#list>

@Override
public String toString() {
return "${className}{" +
<#list params as param>
    <#if param_index == 0>
        "${param.name}=" + ${param.name} +
    <#else>
        ", ${param.name}=" + ${param.name} +
    </#if>
</#list>
"}";
}

}